﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;

public class BaseUserControl : UserControl
{
    public object Item { get; set; }
    public object Parse(string propertyName)
    {        
        return Item.GetType().GetProperty(propertyName).GetValue(Item, null);
    }
}